/* 通用样式 */
.page-container2{
    width: 100%;
    min-height: 100vh;
  }
  .content-module {
    display: none;
    padding: 20px;
  }

  .content-module.active {
    display: block;
  }

  .module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .module-header h3 {
    margin-right: auto;
  }

  /* 统计卡片样式 */
  .stat-card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }

  .stat-card:hover {
    transform: translateY(-5px);
  }

  .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }

  .icon-box i {
    font-size: 24px;
  }

  /* 套餐卡片样式 */
  .package-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
  }

  .package-card:hover {
    transform: translateY(-5px);
  }

  .price-tag .currency {
    font-size: 24px;
    vertical-align: top;
  }

  .price-tag .amount {
    font-size: 48px;
    font-weight: bold;
  }

  .price-tag .period {
    font-size: 16px;
    color: #666;
  }

  .package-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }

  .package-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
  }

  .package-features li i {
    position: absolute;
    left: 0;
    top: 4px;
  }

  /* 教练卡片样式 */
  .coach-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
  }

  .coach-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
  }

  /* 响应式调整 */
  @media (max-width: 768px) {
    .module-header {
      flex-direction: column;
      align-items: stretch;
    }
    .header-mini-btn{
      position: absolute;
      right: 0;
    }
    .module-header button {
      margin-top: 10px;
    }

    .stat-card {
      margin-bottom: 15px;
    }
  }

/* 管理员头像 */
.avatar-img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* logo标题 */
.logo-title{
    display: inline;
    font-size: 25px;
    color: #fff;
    font-weight: bold;
    position:relative;
    top: 5px;
}

/* 侧边栏 */
.sidebar2{
    width: 100px !important;
    height: 100vh !important;
    position: absolute !important;
    left: 260px !important;
    display: block !important;
}

.table-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}


#course-table-body th, .table-bordered td {
  border: 1px solid #dee2e6;
}
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
}
.table th:first-child{
  width: 170px;
}
.table th, .table td {
  text-align: center;
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

/* 包含表格和导航按钮的容器样式 */
.table-with-navigation {
  display: flex;
  align-items: center; /* 垂直居中 */
}

/* 左侧导航按钮样式 */
.table-navigation-left {
  flex-shrink: 0; /* 防止按钮在容器中缩小 */
  margin-right: 20px; /* 在左侧按钮和表格之间添加一些间隔 */
}

/* 右侧导航按钮样式 */
.table-navigation-right {
  flex-shrink: 0; /* 防止按钮在容器中缩小 */
  margin-left: 20px; /* 在表格和右侧按钮之间添加一些间隔 */
}

/* 确保表格响应式并填充剩余空间 */
.table-responsive {
  flex-grow: 1; /* 表格占据剩余空间 */
}
/* 表格样式 */
#course-table {
  border-collapse: collapse;
  width: 100%;
}

#course-table th, #course-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

#course-table th {
  background-color: #f2f2f2;
}

/* 按钮样式 */
#prev-button, #next-button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

/* 卡片样式 */
.course-card {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 16px;
}

.course-card h4 {
  margin-top: 0;
}

.course-card p {
  margin-bottom: 0;
}

.course-card .course-actions {
  text-align: right;
}

.course-card .course-actions button {
  margin-left: 8px;
}

/* 响应式设计 */
@media screen and (max-width: 600px) {
  #course-table {
    display: block;
    overflow-x: auto;
  }

  #course-table th, #course-table td {
    width: auto;
  }
}

.module-header button {
  margin-left: 10px;
}

.controls-container {
  display: flex;
  align-items: center;
  margin-left: auto; /* 自动填充左边距，推动到右侧 */
}

.col-md-3.controls-container {
  width: 100px; /* 或者设置一个具体的宽度，如 200px */
}

#Class_table_1 th {
  text-align: center;
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

#term-8 table {
    transition: transform 1s ease-out, opacity 1s ease-out;
}
#term-42 .module-header{
  width: 100%;
}
#term-42 .module-header .header-ad{
  top: 100px;
  float: left;
}

#term-42 .module-header #childrenSelector{
  position: absolute;
  right: 0; 
  top: 100px;
}

#guardianAvatarPreview {
    transition: transform 0.2s;
    cursor: pointer;
}

#guardianAvatarPreview:hover {
    transform: scale(1.05);
}

/* 放大预览模态框样式 */
#avatarPreviewModal .modal-body {
    padding: 0;
    background: #000;
}

#avatarPreviewLarge {
    display: block;
    margin: 0 auto;
    max-height: 80vh;
    object-fit: contain;
}

.sort-icons {
    display: inline-block;
    margin-left: 5px;
}

.sort-icon {
    cursor: pointer;
    font-size: 14px;
    color: #333;
    margin: 0 2px;
}

.sort-icon:hover {
    color: #007bff;
}

.sort-icon.active {
    color: #007bff;
}

/* 让表头文字和图标保持在同一行 */
#term-9 .table thead th {
    white-space: nowrap;
}

/* 监护人详情页面样式 */
#term-42 {
    margin-top: 50px;
}

#term-42 .basic-info-list {
    margin-top: 20px;
}

#term-42 .info-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

#term-42 .info-item label {
    font-weight: bold;
    color: #666;
    margin-right: 10px;
    min-width: 80px;
    display: inline-block;
}

#term-42 .info-item span {
    color: #333;
}

#term-42 .card {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border: none;
    margin-bottom: 20px;
}

#term-42 .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

#term-42 .badge {
    padding: 8px 12px;
    font-size: 0.9em;
}

#term-42 #guardianDetailAvatar {
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#term-42 #guardianDetailAvatar:hover {
    transform: scale(1.05);
}

/* 套餐信息样式 */
.package-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.progress {
    height: 8px;
    border-radius: 4px;
}

/* 孩子信息卡片样式 */
.child-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.child-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.child-card .progress {
    height: 5px;
}

.child-card img {
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 右侧区域下拉框样式 */
#term-42 .card-header select {
    margin-left: 10px;
    font-size: 0.9rem;
}

/* 小号徽章样式 */
.badge-sm {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: normal;
}

/* 超小号徽章样式 */
.badge-xs {
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
    font-weight: normal;
}

#ID-transfer-demo-showSearch{
    width: 600px;
    margin: 0 auto;
    /*border: 1px red solid;*/
}
.badge-xs {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    line-height: 1;
}

#term-183 .row{
    display: flex;
    justify-content: space-between;
}

.badge-xs {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    line-height: 1;
}
/* 调整穿梭框布局 */
.layui-transfer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

/* 调整左右框的宽度和样式 */
.layui-transfer-box {
    width: 45% !important;
    margin: 0 !important;
    max-height: 400px;
}

/* 调整列表容器样式 */
.layui-transfer-data {
    height: auto !important;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

/* 隐藏 Webkit 浏览器的滚动条 */
.layui-transfer-data::-webkit-scrollbar {
    display: none;
}

/* 调整列表项样式 */
.layui-transfer-data li {
    padding: 8px 10px;
    border-bottom: none !important;  /* 移除下划线 */
}

/* 调整搜索框样式 */
.layui-transfer-search {
    padding: 8px;
    border-bottom: 1px solid #e6e6e6;
}

/* 调整中间按钮域 */
.layui-transfer-active {
    padding: 0 20px;
    margin: 0 !important;
}
.course-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.course-detail {
  width: 48%; /* 每个信息项占据一半的宽度 */
  margin-bottom: 5px;
}

.table-hover th, .table-hover td {
    vertical-align: middle;
    text-align: center;
    padding: 10px;
}

.sort-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    font-size: 14px;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none; /* 移除点击时的聚焦边框 */
}

.sort-button i {
    outline: none; /* 移除点击时的聚焦边框 */
    margin: 0;
}
.sort-button{
    outline: none; /* 移除点击时的聚焦边框 */
}
.sort-button:hover {
    color: #007bff;
    outline: none; /* 移除点击时的聚焦边框 */
}

.course-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5px;
    outline: none; /* 移除点击时的聚焦边框 */
}

.course-detail {
    width: 48%;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    outline: none; /* 移除点击时的聚焦边框 */
}

.course-detail i {
    margin-right: 5px; /* 调整图标和文字之间的距离 */
}

.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
}

.pagination button {
    margin: 0 5px;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 4px;
}

#pageInfo {
    margin: 0 10px;
    font-size: 14px;
}